CREATE TABLE [dbo].[affection_ouv_poste]
(
[id_affectation] [int] NOT NULL,
[ouv_id] [int] NOT NULL,
[numero] [int] NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[affection_ouv_poste] ADD CONSTRAINT [PK_affection_ouv_poste] PRIMARY KEY CLUSTERED  ([id_affectation]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[affection_ouv_poste] ADD CONSTRAINT [FK_affection_ouv_poste_ouvriere] FOREIGN KEY ([ouv_id]) REFERENCES [dbo].[ouvriere] ([ouvr_id])
GO
